import Layout from "@/layout";

//系统管理
export default {
  path: "/system-manager",
  component: Layout,
  redirect: "noRedirect",
  name: "系统管理",
  meta: { title: "系统管理", icon: "dashboard" },
  children: [
    {
      path: "/system-menu-insert",
      name: "添加菜单",
      hidden: true,
      component: () => import("@/views/system/menu/save"),
      meta: { title: "添加菜单", icon: "dashboard", inner: true }
    },
    {
      path: "/system-menu-update",
      name: "编辑菜单",
      hidden: true,
      component: () => import("@/views/system/menu/save"),
      meta: { title: "编辑菜单", icon: "dashboard", inner: true }
    },
    {
      path: "/system-menu",
      name: "菜单管理",
      component: () => import("@/views/system/menu/list.vue"),
      meta: { title: "菜单管理", icon: "menu1" }
    },
    {
      path: "/system-function-insert",
      name: "添加权限",
      hidden: true,
      component: () => import("@/views/system/function/save"),
      meta: { title: "添加权限", icon: "dashboard", inner: true }
    },
    {
      path: "/system-function-update",
      name: "编辑权限",
      hidden: true,
      component: () => import("@/views/system/function/save"),
      meta: { title: "编辑权限", icon: "dashboard", inner: true }
    },
    {
      path: "/system-function",
      name: "权限管理",
      component: () => import("@/views/system/function/list.vue"),
      meta: { title: "权限管理", icon: "dashboard" }
    },
    {
      path: "/system-role-insert",
      name: "添加角色",
      hidden: true,
      component: () => import("@/views/system/role/save"),
      meta: { title: "添加角色", icon: "dashboard", inner: true }
    },
    {
      path: "/system-role-update",
      name: "编辑角色",
      hidden: true,
      component: () => import("@/views/system/role/save"),
      meta: { title: "编辑角色", icon: "dashboard", inner: true }
    },
    {
      path: "/system-role",
      name: "角色管理",
      component: () => import("@/views/system/role/list.vue"),
      meta: { title: "角色管理", icon: "dashboard" }
    },
    {
      path: "/system-user-insert",
      name: "添加用户",
      hidden: true,
      component: () => import("@/views/system/user/save"),
      meta: { title: "添加用户", icon: "dashboard", inner: true }
    },
    {
      path: "/system-user-update",
      name: "编辑用户",
      hidden: true,
      component: () => import("@/views/system/user/save"),
      meta: { title: "编辑用户", icon: "dashboard", inner: true }
    },
    {
      path: "/system-user",
      name: "用户管理",
      component: () => import("@/views/system/user/list.vue"),
      meta: { title: "用户管理", icon: "user" }
    }
  ]
};
